﻿using BasicInformation.ErrorCode;
using MediatR;

namespace BasicInformation.ApiWrite.Application.Command.Storage
{
    public class AddStorageCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 仓库编号
        /// </summary>
        public string StorageCode { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string StorageName { get; set; }
        /// <summary>
        /// 仓库容量
        /// </summary>s
        public int StorageCapacity { get; set; }
        /// <summary>
        /// 仓库地址
        /// </summary>
        public string StorageAdder { get; set; }
        /// <summary>
        /// 所属部门
        /// </summary>
        public int Department_Id { get; set; }
        /// <summary>
        /// 工号
        /// </summary>
        public string User_WorkCode { get; set; }
        /// <summary>
        /// 库位数量
        /// </summary>
        public int LocationNumder { get; set; }
        /// <summary>
        /// 仓库状态
        /// </summary>
        public bool StorageState { get; set; }
        /// <summary>
        /// 操作人就是登录人
        /// </summary>
        public string LoginUserName { get; set; }
    }
}
